package com.whmall.service.crm.module.companyuser.dao;

import com.whmall.component.mybatis.mapper.BatchMapper;
import com.whmall.service.crm.module.companyuser.entity.CompanyUserInformationDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公司用户信息表 Mapper
 *
 * @author alex
 * @since 2020/7/31
 */
@Mapper
public interface CompanyUserInformationMapper extends BatchMapper<CompanyUserInformationDO> {

    int deleteById(Long id);

    int insert(CompanyUserInformationDO record);

    int insertSelective(CompanyUserInformationDO record);

    CompanyUserInformationDO getById(Long id);

    int updateByIdSelective(CompanyUserInformationDO record);

    int updateById(CompanyUserInformationDO record);

    List<CompanyUserInformationDO> listByIds(@Param("ids") List<Long> companyUserIds);
}
